<HTML>
<HEAD>
    <TITLE>北京出租房</TITLE>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <link href="style/mycss.css" rel="stylesheet" type="text/css"/>
    <link href="style/text.css" rel="stylesheet" type="text/css"/>
    <link href="style/btn.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="js/jquery-2.1.0.min.js"></script>
    <script language="javascript">
        function back() {
            window.history.back();
        }

        $(function () {
            var user = JSON.parse(localStorage.getItem("user"));
            $("#uname").text(user.uname);
            var hid = localStorage.getItem("hid");
            $.ajax({
                url: "findHid",
                type: "post",
                data: {
                    id: hid
                },
                success: function (result) {
                    $("#title").text(result.data.title);
                    $("#address").text(result.data.districts.name+"区"+result.data.streets.name+"镇");
                    $("#money").text(result.data.money);
                    $("#room").text(result.data.room);
                    $("#type").text(result.data.htypes.name);
                    $("#phone").text(result.data.phone);
                    $("#info").text(result.data.info);
                    $("#time").text(result.data.time);
                    $("#pName").text(result.data.user.pname);
                }
            });
        })

    </script>


</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>

<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td colspan="5"><img src="images/top.jpg" width="780" height="170"></td>
    </tr>
    <tr>
        <td colspan="5"><img src="images/middle1.jpg" width="780" height="47"></td>
    </tr>
    <tr>
        <td width="38" background="images/middle2.jpg">&nbsp;</td>
        <td width="172" valign="top">
            <table align="center">
                <tr>
                    <td width=''><font color='red'>当前用户：<span id="uname"></span></font>
                    </td>
                </tr>
                <tr>
                    <td width='150'><a href="my.html">管理我的租房信息</a></td>
                </tr>
                <tr>
                    <td width='100'><a href="post.html">发布租房信息</a></td>
                </tr>
                <tr>
                    <td width='100'><a href="login.html">返回首页</a></td>
                </tr>
                <tr>
                    <td width='100'><a href="index.html">[注销]</a></td>
                </tr>
            </table>
        </td>
        <td width="35" background="images/layout_24.gif">&nbsp;</td>
        <td width="495" align="center">

            <table width="450">
                <tr>
                    <td><span id="title"></span></td>
                </tr>
                <tr>
                    <td><strong>电话/手机：</strong><span id="phone"></span></td>
                </tr>
                <tr>
                    <td><strong>联系人：</strong><span id="pName"></span></td>
                </tr>
                <tr>
                    <td><strong>房屋类型：</strong><span id="type"></span></td>
                </tr>
                <tr>
                    <td><strong>户型：</strong><span id="room"></span></td>
                </tr>
                <tr>
                    <td><strong>价格：</strong><span id="money"></span>元</td>
                </tr>
                <tr>
                    <td><strong>地段：</strong><span id="address"></span></td>
                </tr>
                <tr>
                    <td><strong>发布时间：</strong><span id="time"></span></td>
                </tr>
                <tr>
                    <td>
                        <hr>
                    </td>
                </tr>
                <tr>
                    <td><span id="info"></span></td>
                </tr>
                <tr>
                    <td><input type="button" value="后退" class="btn" onclick="back()"></td>
                </tr>
            </table>

        </td>
        <td width="40" background="images/middle4.jpg">&nbsp;</td>
    </tr>
    <tr>
        <td colspan="5"><img src="images/bottom.jpg" width="780" height="82"></td>
    </tr>
</table>
<P align="center">教育 版权所有</P>
<br/>
</BODY>
</HTML>